﻿namespace Tszy.Unlimited.Data.AdoNet.Sql.Providers
{
    /// <summary>
    ///
    /// </summary>
    public static class DataProviderFactory
    {
        /// <summary>
        ///
        /// </summary>
        /// <param name="action"></param>
        /// <returns></returns>
        public static IDataProvider CreateDatabase(Func<IDataProvider> action)
        {
            return action?.Invoke();
        }
    }
}